def max_min(lists):
	lists.sort()
	return lists

nums = [1, 23, 54, 32, 10, 14]
max_min(nums)
print(nums[0])
print(nums[-1])
